/**
 * Project: apollo-base-dal
 * 
 * File Created at 2017年2月20日
 * 
 * Copyright 2015-2016 dx.com Croporation Limited.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * DongXue software Company. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with dx.com.
 */
package com.dx.pf.dal.conf.rule;

/** 
* @ClassName: RuleConstant 
* @Description: 规则配置常量
* @author wuzhenfang(wzfbj2008@163.com)
* @date 2017年2月20日 下午5:18:19 
* @version V1.0 
*/
public class RuleConstant {

	/**XML入口配置-标识*/
	public final static String dalShardingConfig = "dal-sharding-config";

	/**分片规则-标识*/
	public final static String rule_shard = "rule-shard";

	/**分片规则ID*/
	public final static String id = "id";

	/**数据源规则*/
	public final static String datasource_rule = "datasource-rule";

	/**数据源名称*/
	public final static String db_name = "db_name";

	/**分库分表表名称*/
	public final static String tb_name = "tb_name";

	/**分库分表规则字段*/
	public final static String tb_rule_field = "tb_rule_field";

	/**分库分表规则表达式类型*/
	public final static String expression_type = "expression_type";

	/**分库分表规则表达式*/
	public final static String ruleExpression = "ruleExpression";

	/**分库分表规则集合*/
	public final static String table_rules = "table-rules";

	/**分库分表规则*/
	public final static String table_rule = "table-rule";

}
